<div data-role="page" ng-controller="myorderCtr">

    <div class="ui-content">

        <h1>我的订单</h1>
        <table data-role="table" class="ui-responsive">

            <thead>
            <tr>
                <th>编号</th>
                <th>菜品</th>
                <th>下单时间</th>
                <th>联系人</th>
            </tr>
            </thead>

            <tbody>
            <tr ng-repeat="order in orderList">
                <td>{{order.oid}}</td>
                <td><img ng-src="../img/{{order.img_sm}}"/></td>
                <td>{{order.order_time| date :'yyyy-MM-dd HH:mm'}}</td>
                <td>{{order.user_name}}</td>
            </tr>
            </tbody>

        </table>

    </div>

</div>

<!--<div ng-include=" 'tpl/include/header.html' "></div>

<div class="container">
    <h3 class="text-center">我的订单</h3>
    <div class="table-responsive">
        <table class="table table-hover table-striped table-condensed order-table">
            <thead>
            <tr>
                <th>编号</th>
                <th>菜品</th>
                <th>下单时间</th>
                <th>联系人</th>
            </tr>
            </thead>
            <tbody>
            <tr ng-repeat="o in orderList">
                <td>{{o.oid}}</td>
                <td>
                    <a href="#/detail/{{o.did}}"><img ng-src="img/{{o.img_sm}}"/></a></td>
                <td>{{o.order_time| date :'yyyy-MM-dd HH:mm'}}</td>
                <td>{{o.user_name}}</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>

<br><br><br>-->


<div ng-include=" 'tpl/include/footer.html' "></div>